import Vue from 'vue'
import Router from 'vue-router'
// import HelloWorld from '@/components/HelloWorld'
import FundLogin from '@/components/FundLogin'
import FundList from '@/components/FundList'
import FundRegister from '@/components/FundRegister'
import MyFundList from '@/components/MyFundList'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      redirect: '/login'
    },
    {
      path: '/fundlist',
      name: 'FundList',
      component: FundList
    },
    {
      path: '/login',
      name: 'FundLogin',
      component: FundLogin
    },
    {
      path: '/register',
      name: 'FundRegister',
      component: FundRegister
    },
    {
      path: '/myFundList',
      name: 'MyFundList',
      component: MyFundList
    }
  ]
})
